package cn.pangza.user.mapper;

import cn.pangza.user.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<UserEntity>{
    @Select("select username, password, id from user where delete_flag = 0")
    IPage<UserEntity> getUserPage(IPage<UserEntity> userEntity);
}
